package com.jason.bbs.router.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.jason.bbs.bean.ResultJson;
import com.jason.bbs.router.feign.hystrix.PmsHystrix;

@FeignClient(name = "pms-server",fallback=PmsHystrix.class)
public interface PmsService {
	@GetMapping("/check/{loginId}")
	public ResultJson checkLogin(@PathVariable("loginId") String loginId);
}
